package com.hohai.river.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hohai.river.entity.Score;

import java.util.List;
import java.util.Map;

/**
 * 分数表
 */
public interface ScoreService extends IService<Score> {

	Score getScore(Long riverId, Long indexId);

	List<Score> getIndexFinishedNormal(Long riverId);

	List<Score> getIndexFinishedExpert(Long riverId, String expertId);

	List<Map> calculateTotalScore(Long riverId);

	List<Map<String, Object>> getMaxScore(Integer level);

}
